package com.qfedu.fmmall.service;

import com.qfedu.fmmall.common.vo.ResultVO;
import com.qfedu.fmmall.entity.Orders;

import java.util.Map;

/**
 * @author : yanBin
 * @date :2021/12/20 17:12
 */
public interface OrdersService {
    Map<String, String> addOrders(String cids, Orders orders);

    int updateOrdersByStatus(String orderId, String status);

    ResultVO getOrderById(String orderId);

    void closeOrder(String orderId);

    ResultVO listOrders(String userId, String status, int page, int limit);
}
